﻿using HCQ2_Model.BaneUser.APP.Params;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HCQ2_Model.DocModel.APIModel
{
    public class EmpowerAPPParam: BaseBaneModel
    {
        /// <summary>
        ///  编码
        /// </summary>
        public string num_code { get; set; }
        /// <summary>
        ///  开始时间
        /// </summary>
        public string start_date { get; set; }
        /// <summary>
        ///  结束时间
        /// </summary>
        public string end_date { get; set; }
        /// <summary>
        ///  机器码
        /// </summary>
        public string machine_code { get; set; }
        /// <summary>
        ///  状态
        ///  全部：-1
        ///  未生效：0
        ///  正常：1
        ///  10天内到期：2
        ///  封停：3
        ///  逾期：4
        /// </summary>
        public int status { get; set; } = -1;
        /// <summary>
        ///  第几页
        /// </summary>
        public int page { get; set; } = 1;
        /// <summary>
        ///  每页数量
        /// </summary>
        public int rows { get; set; } = 10;
    }
    public class EmpowerAPPModel
    {
        /// <summary>
        ///  主键
        /// </summary>
        public int id { get; set; }
        /// <summary>
        ///  编码
        /// </summary>
        public string num_code { get; set; }
        /// <summary>
        ///  开始时间
        /// </summary>
        public string start_date { get; set; }
        /// <summary>
        ///  结束时间
        /// </summary>
        public string end_date { get; set; }
        /// <summary>
        ///  机器码
        /// </summary>
        public string machine_code { get; set; }
        /// <summary>
        ///  机器名
        /// </summary>
        public string machine_name { get; set; }
        /// <summary>
        ///  状态
        ///  -1：全部
        ///  0：未生效
        ///  1：正常
        ///  2：10天内到期
        ///  3：封停
        ///  4：逾期
        /// </summary>
        public int status { get; set; }
    }
}
